﻿using DevExpress.XtraEditors;

namespace E4RPLicenseInfo
{
    public partial class LicenseInfoXtraForm : XtraForm
    {
        public LicenseInfoXtraForm()
        {
            InitializeComponent();
            searchSimpleButton.Click += delegate { ShowLicenseInfo(); };
            ShowLicenseInfo();
        }

        private void ShowLicenseInfo()
        {
            textEdit.Text = E4RPLicense.License.GetInfo().ToString();
        }
    }
}